'Declaration
Public Overloads Shared Function RemoveAsync(Of T As Class)( _ ByVal dataCollection As IDataCollection(Of T), _ ByVal index As Integer, _ Optional ByVal cancellationToken As CancellationToken _ ) As Task
public static Task RemoveAsync<T>( IDataCollection<T> dataCollection, int index, CancellationToken cancellationToken ) where T: class
Parameters
- dataCollection
- The data collection.
- index
- The index of the item that will be removed.
- cancellationToken
- The cancellation token.
Type Parameters
- T